package com.cskaoyan.controller;

import com.cskaoyan.bean.BaseRespVo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author stone
 * @date 2022/06/23 15:46
 */
@RestController
@RequestMapping("user")
public class UserController {

    @RequestMapping("login")
    public BaseRespVo login() {
        System.out.println("user/login");
        return BaseRespVo.ok();
    }
    @RequestMapping("register")
    public BaseRespVo register() {
        System.out.println("user/register");
        return BaseRespVo.ok();
    }

}
